<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!-- 添加相关标签支持 -->
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
    <style type="text/css">
        table tr th, td {
            border: 1px solid green;
        }
    </style>

</head>
<body>

<table>
    <tr>
        <th>id</th>
        <th>姓名</th>
        <th>账号</th>
        <th>邮箱</th>
        <th>手机号</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${list}" var="user">
        <tr>
            <td>${user.id}</td>
            <td>${user.name}</td>
            <td>${user.account}</td>
            <td>${user.email}</td>
            <td>${user.phone}</td>
            <td><a href="delete?id=${user.id}">删除</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>